<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Todo List</title>
</head>
<body>
<h1>Todo List</h1>
<ul>{list}</ul>

<form action="/" method="post">
    <p><input type="text" name="item"></p>
    <p><input type="submit" value="Add"></p>
</form>
</body>
</html>